package com.clouds.wms.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.clouds.wms.bean.Invmc;
import com.clouds.wms.dao.InvmcDao;
import com.clouds.wms.exception.SysException;
import com.clouds.wms.util.PagesBean;

@Service("invmcService")
public class InvmcServiceImpl implements InvmcService {
	@Resource(name="invmcDao")
	private InvmcDao invmcDao;

	@Override
	public PagesBean getInvmcList(String maaa, String maab, String maac,String startMaad, String endMaad, int offset, int pageSize)	throws SysException {
		return invmcDao.getInvmcList(maaa, maab, maac, startMaad, endMaad, offset, pageSize);
	}

	@Override
	public Invmc getInvmc(String maaa,String maab) throws SysException {
		return invmcDao.getInvmc(maaa,maab);
	}

	@Override
	public int saveInvmc(Invmc invmc) throws SysException {
		return invmcDao.saveInvmc(invmc);
	}
	
}
